/**
 copyright(c)2021 lsl.ALL rights Reserved
 @author lsl
 @version 1.0
 @date
 */
module.exports = {
    productionSourceMap: false,
    publicPath: process.env.NODE_ENV === "production" ? "./" : "/",
    lintOnSave: false,
    chainWebpack(config) {
        // 移除打包后 index.html 所有打包好的文件都预加载行为
        config.plugins.delete("preload");
        config.plugins.delete("prefetch");
    },
};
